//
//  EpisodeTableViewCell.m
//  ArandaTest
//
//  Created by Camilo Cadena on 2/18/15.
//  Copyright (c) 2015 Camilo Cadena. All rights reserved.
//

#import "EpisodeTableViewCell.h"

@implementation EpisodeTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

//Update cell content information
-(void)updateCell:(EpisodeObject *)item{
    
    [self.episodeName setText:[NSString stringWithUTF8String:[item.name cStringUsingEncoding:NSUTF8StringEncoding]]];
    [self.episodeNumber setText:[NSString stringWithFormat:@"%@",item.episode_number]];
    
}
@end
